<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Liste von Eingebafeldern</title>
    
    <script language="javascript">
    
        function addDataToList(){
    
			// Generiert Beispielhaft
			// eine Liste von Textfeldern
            for(var i = 0; i<10; i++){
            
				var newdiv = document.createElement("div");
				newdiv.id = i;
				newdiv.name = i;
				
				// Textfeld 01
				var id = document.createElement('textarea');
				id.maxLength = 5;
				id.id = i;
				id.name = i;
				id.value = "id";
				newdiv.appendChild(id);
				
				// Textfeld 02
				var adresse = document.createElement('textarea');
				adresse.maxLength = 5;
				adresse.id = i;
				adresse.name = i;
				adresse.value = "hier adresse";
				newdiv.appendChild(adresse);
				
				document.getElementById("wegpunkte").appendChild(newdiv);      
            }     
        }
    </script>

</head>

<body>

    <input name="" type="button" onclick="addDataToList();" />
    
    <div class="wegpunkte" id="wegpunkte">
        
    </div>

</body>

</html>